package com.itheima.day16.reflect.test2;

public class Student {
    private String name;
    private int age;

    // 私有带参构造
    private Student(String name){
        this.name = name;
    }

    // 公共无参构造
    public Student(){
    }

    // 公共带参构造
    public Student(String name,int age){
        this.name = name;
        this.age = age;
    }
}
